home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- # set THACK to be a troff to postscript convertor
- # set PSPR be the program that prints postscript
- # set LPR to the program that prints on your line printer
-
- HACK=/usr/doc1/phill/bin/thack
- SPR=/usr/local/bin/pspr
- PR=lpr
-
- ########################################################
- # You shouldn't have to alter anything below this line #
- ########################################################
-
- ANPAGES=`/bin/ls man/man[135]/*`
-
- ase $# in
- 0)
- (nroff -ms nroff_header.ms;
- for i in $MANPAGES
- do
- nroff -man $i
- done)
- ;;
- 1)
- if ( test $1 = "laser" ) then
- troff -t -ms troff_header.ms | $THACK | $PSPR
- for i in $MANPAGES
- do
- troff -t -man $i | $THACK | $PSPR
- done
- elif ( test $1 = "lpr" ) then
- (nroff -ms nroff_header.ms;
- for i in $MANPAGES
- do
- nroff -man $i
- done) | $LPR
- fi
- ;;
- sac
-